package com.gba.mark.origin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.segments.MergeSegments;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("origin")
public class Origin  implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    //主键
    private Integer id;

    //原文章主键
    @TableField(value = "article_id")
    private Integer articleId;

    //原文章中截取的位置
    private Integer location;

    //经过切分的生语料
    private String sentence;

    //系统预标注结果
    private String systemLabel;

    //语料内容或状态被修改的时间
    private Date updateDate;

    //语料状态（未标注，标注一次，检验成功，检验失败......）
    private Integer status;

    //乐观锁
    private Integer optLock;

    //语料难度
    private Float level;

    //逻辑删除（ture为存在状态，false为删除状态）
    @TableField(value = "active")
    private Boolean active;



}
